package com.pig4cloud.pig.village.land.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pig4cloud.pig.village.api.dto.LandDTO;
import com.pig4cloud.pig.village.api.dto.LandTotalDTO;
import com.pig4cloud.pig.village.api.entity.Land;

import java.util.List;

/**
 * @author limbray.li
 * @date 2021/6/19
 */
public interface ILandService extends IService<Land> {
	IPage<LandDTO> selectForPage(Page page, Long teamId, Long villagerId);

	LandDTO getDtoById(Long id);

	List<LandTotalDTO> teamTotal(Long teamId);

	LandTotalDTO villageTotal();
}
